projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64875a
)
(window_scroll_line_based): Let compute_motion
author
Kim F. Storm
<storm@cua.dk>
Mon, 2 Aug 2004 15:06:25 +0000
(15:06 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Mon, 2 Aug 2004 15:06:25 +0000
(15:06 +0000)
calculate actual window width.
src/window.c
patch
|
blob
|
history
diff --git
a/src/window.c
b/src/window.c
index c3603c2039f88ca640c27b0c9b891fe0f4fe6332..ad22e1df1079b7cd2c0dfd4f496cefe80664a00d 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-4707,7
+4707,7
@@
window_scroll_line_based (window, n, whole, noerror)
posit = *compute_motion (startpos, 0, 0, 0,
PT, ht, 0,
-
window_box_text_cols (w)
, XINT (w->hscroll),
+
-1
, XINT (w->hscroll),
0, w);
original_vpos = posit.vpos;